﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>我的钱包</title> 
<%@ include file="/page/wx/include.jsp"%>
<link rel="stylesheet" type="text/css" href="<%=basePath%>/statics_wx/css/main2.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>/statics_wx/css/loading.css">
<script src="<%=basePath%>/statics_wx/js/iscroll.js"></script>
<script type="text/javascript" src="<%=basePath%>/statics/plugins/layer/layer.js"></script>
<script type="text/javascript" src="<%=basePath%>/js/wx/my/wallet/wallet.js"></script>
</head>
<body style="background:#f3f3f3">
<c:forEach items="${walletList}" var="wallet">
	<div class="qb_header">
	    <div class="qb_info2">
	    	<h1>账户余额（元）</h1>
	        <h2>
	        	<strong>${wallet.getableMoney}</strong>
	            <b><a href="javascript:void(0)" id="withdrawBth">提现</a></b>
	        </h2>
	    </div>
	</div>
	<div class="jf_part1">
		<ul>
			<li>
				<p>
					<i>累计收益</i>
					<span>${wallet.totalMoney}</span>
				</p><s></s>
			</li>
			<li>
				<p>
					<i>可提现</i>
					<span>${wallet.getableMoney}</span>
				</p><s></s>
			</li>
			<li>
				<p>
					<i>提现中</i>
					<span>${wallet.getingMoney}</span>
				</p>
			</li>
		</ul>
	</div>
</c:forEach>
<div class="jf_nav">
	<ul>
    	<li <c:if test="${ empty payType }"> class="current" </c:if> >
        	<a href="javascript:void(0)" id="allwallet"><p><span>全部</span><em></em></p></a>
        </li>
        <li <c:if test="${payType == 1 }">class="current" </c:if> >
        	<a href="javascript:void(0)" id="income"><p><span>收入</span><em></em></p></a>
        </li>
        <li <c:if test="${payType == 0 }"> class="current" </c:if> >
        	<a href="javascript:void(0)" id="expend"><p><span>支出</span><em></em></p></a>
        </li>
    </ul>
</div>
<div id="content" class="jf_part2">
<input type="hidden" id="page_count" name="page_count" value="1"/>
<input type="hidden"  id="page_total"  name="page_total" value="${pageBean.pageCount }"/>
<input type="hidden"  id="payType"  name="payType" value="${payType}"/>
<c:forEach items="${statList}" var="statMonthWallet">
	<div class="hd"><div class="hd_con">
    	<div class="left">
        	<strong>${statMonthWallet.month}</strong>
            <b>支出 ￥${statMonthWallet.outMoney} 元<i></i>收入 ￥${statMonthWallet.inMoney}元</b>
        </div>
        <div class="right">
        	<a href="javascript:void(0)"></a>
        </div>
    </div></div>
    <div class="jf_list">
    	<ul>
    	<c:forEach items="${walletFlowList}" var="walletFlow">
        	<li>
            	<div class="boxs_1">
            	<!-- 提现 -->
            	<c:if test="${walletFlow.flowType == 1}">
                	<div class="pic">
                    	<img src="<%=basePath%>/statics_wx/images/zjtx.png" />
                    </div>
                    <div class="item-info">
                    	<h2>提现</h2>
                    	<h3>[支出]</h3>
                        <h4>${walletFlow.payTimeStr}</h4>
                        <p class="a1">-${walletFlow.outMoney}</p>
                    </div>
                </c:if>
                <!-- 推荐下单 -->
            	<c:if test="${walletFlow.flowType == 2}">
                	<div class="pic">
                    	<img src="<%=basePath%>/statics_wx/images/tjxd.png" />
                    </div>
                    <div class="item-info">
                    	<h2>推荐下单</h2>
                    	<h3>[收入]</h3>
                        <h4>${walletFlow.payTimeStr}</h4>
                        <p class="a2">+${walletFlow.inMoney}</p>
                    </div>
                </c:if>
                <!-- 订单消费 -->
            	<c:if test="${walletFlow.flowType == 3}">
                	<div class="pic">
                    	<img src="<%=basePath%>/statics_wx/images/ddxf.png" />
                    </div>
                    <div class="item-info">
                    	<h2>订单抵用</h2>
                    	<h3>[支出]</h3>
                        <h4>${walletFlow.payTimeStr}</h4>
                        <p class="a1">-${walletFlow.outMoney}</p>
                    </div>
                </c:if>
                 <!-- 退款 -->
            	<c:if test="${walletFlow.flowType == 4}">
                	<div class="pic">
                    	<img src="<%=basePath%>/statics_wx/images/tk.png" />
                    </div>
                    <div class="item-info">
                    	<h2>提现驳回退款</h2>
                    	<h3>[收入]</h3>
                        <h4>${walletFlow.payTimeStr}</h4>
                        <p class="a2">+${walletFlow.inMoney}</p>
                    </div>
                </c:if>
                </div>
            </li>
            </c:forEach>
        </ul>
    </div>
</c:forEach>
</div>
<div class="dropload-load" id="loadContent" style="display:none"><span class="loading"></span>玩命加载中...</div>
<div class="dropload-down" id="noContent" style="display:none"><p><em class="dropload-noData">没有更多内容啦</em></p><i></i></div>
</body>
</html>